#include<bits/stdc++.h>

using namespace std;

int main() {
    int a, b, c;
    int d;//divisors

    while (cin >> a >> b >> c) {
        d = 0;//intialization
        for (int i = a; i < b; i++) {
            if (c % i == 0) {
                ++d;
            }

        }
        cout << d << endl;
    }
    return 0;
}
